package ptu.service;

import ptu.result.Result;

public interface RecordsService {

    //借书
    Result borrowBook(String bookName, String username);

    //还书
    Result returnBook(String bookName, String username);

    /**
     * 根据用户名查询借阅记录
     * @param username
     * @return
     */
    Result queryByUsername(String username);

    Result queryAllRecord();
}
